package com.sg.vo;

/**
 * @author zl
 * 评论vo实体类
 */

public class MessageVO {

    /**
     *留言编号
     */
    private int messageId;

    /**
     *留言内容
     */
    private String messageContent;

    /**
     *用户编号
     */
    private int uId;

    /**
     *闲置编号
     */
    private int usedId;

    /**
     * 用户名称
     */
    private String uName;

    /**
     * 闲置品标题
     */
    private String usedTitle;

    /**
     * 闲置品信息
     */
    private String usedContent;

    public MessageVO() {
    }

    public MessageVO(int messageId, String messageContent, int uId, int usedId, String uName, String usedTitle, String usedContent) {
        this.messageId = messageId;
        this.messageContent = messageContent;
        this.uId = uId;
        this.usedId = usedId;
        this.uName = uName;
        this.usedTitle = usedTitle;
        this.usedContent = usedContent;
    }

    @Override
    public String toString() {
        return "MessageVO{" +
                "messageId=" + messageId +
                ", messageContent='" + messageContent + '\'' +
                ", uId=" + uId +
                ", usedId=" + usedId +
                ", uName='" + uName + '\'' +
                ", usedTitle='" + usedTitle + '\'' +
                ", usedContent='" + usedContent + '\'' +
                '}';
    }

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public int getUsedId() {
        return usedId;
    }

    public void setUsedId(int usedId) {
        this.usedId = usedId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getUsedTitle() {
        return usedTitle;
    }

    public void setUsedTitle(String usedTitle) {
        this.usedTitle = usedTitle;
    }

    public String getUsedContent() {
        return usedContent;
    }

    public void setUsedContent(String usedContent) {
        this.usedContent = usedContent;
    }
}
